package service;

import entity.RatifyLesson;

import java.util.ArrayList;

public interface RatifyLessonService {
    public abstract ArrayList<RatifyLesson> findAll() throws Exception;

    public abstract ArrayList<RatifyLesson> findByTeacher(String teachername) throws Exception;

    public abstract int approve(String code,String student,String lessoncode,String ifratify) throws Exception;

    void addordelete(RatifyLesson rlesson, String status) throws Exception;

    public abstract int disapprove(String lessoncode,String student,String disapprovereason) throws Exception;

    public abstract int apply(String lessoncode,String student,String applyreason) throws Exception;
}
